//
//  UTEPedMethodCallHandler.h
//  uteped_sdk
//
//  Created by mateng on 2024/1/13.
//

#import <Foundation/Foundation.h>
#import <Flutter/Flutter.h>
#import "UTEPedEventHandler.h"

NS_ASSUME_NONNULL_BEGIN

@interface UTEPedMethodCallHandler : NSObject {
    NSMutableDictionary *messageDict;
    UTEPedEventHandler* eventHandler;
}

+ (UTEPedMethodCallHandler*)shareInstance;

- (void)initWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar;

- (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result;

- (void)publishLocal:(NSString*)action value:(NSString*)value;

@end

NS_ASSUME_NONNULL_END
